How can I merge two DataFrames row-wise in Python and get the desired output format

join shbcf.ru